package cn.cs.yangtai.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * 评论表
 * (Comment)实体类
 *
 * @author makejava
 * @since 2024-12-17 13:08:47
 */
@Data
@Schema(name = "评论 类")
@AllArgsConstructor
@NoArgsConstructor
public class Comment implements Serializable {
    private static final long serialVersionUID = -34987418160604063L;
    /**
     * 评论id
     */
    private Integer commentId;
    /**
     * 评论话题id
     */
    private Integer commentBlogId;
    /**
     * 评论人id
     */
    private Integer commentUserId;
    /**
     * 评论内容
     */
    private String comment;
    /**
     * 评论时间
     */
    private Date commentDate;
    /**
     * 备用属性1
     */
    private String commentBei;
    /**
     * 备用属性2
     */
    private String commentXuan;


    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getCommentBlogId() {
        return commentBlogId;
    }

    public void setCommentBlogId(Integer commentBlogId) {
        this.commentBlogId = commentBlogId;
    }

    public Integer getCommentUserId() {
        return commentUserId;
    }

    public void setCommentUserId(Integer commentUserId) {
        this.commentUserId = commentUserId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getCommentDate() {
        return commentDate;
    }

    public void setCommentDate(Date commentDate) {
        this.commentDate = commentDate;
    }

    public String getCommentBei() {
        return commentBei;
    }

    public void setCommentBei(String commentBei) {
        this.commentBei = commentBei;
    }

    public String getCommentXuan() {
        return commentXuan;
    }

    public void setCommentXuan(String commentXuan) {
        this.commentXuan = commentXuan;
    }

}

